Check if stream data is free.
bool IsStreamDataFree(array<System::Byte> ^% MemNewData);
Parameters |
Description |
array<System::Byte> ^% MemNewData |
Reference to memory block. This must be one of values added with PushDataToStream. |
Return Values |
Description |
1 |
MemNewData isn't in stream anymore, you can destroy this data. |
0 |
MemNewData is still in stream, don't destroy this data yet. |
When you push memory block to non buffered stream with PushDataToStream you need to keep this data into memory because class is using this data. With this function you can check is specified buffer (pointer) is in stream queue. If specified buffer is free, you can destroy this data, free memory ...
Copyright (c) 2010. Zoran Cindori - All rights reserved.
Web: http://libzplay.sourceforge.net/ Email: zcindori@inet.hr |